﻿namespace ACCOUNTING
{
    using ACCOUNTING.LVY.Business;
    using ACCOUNTING.My.Resources;
    using C1.Win.C1FlexGrid;
    using C1.Win.C1FlexGrid.Util.BaseControls;
    using Microsoft.VisualBasic;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_TraCuuQuaTrinhNhapXuat : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("CboKhoHang")]
        private ComboBox _CboKhoHang;
        [AccessedThroughProperty("CmdOK")]
        private Button _CmdOK;
        [AccessedThroughProperty("CmdSeachMaHang")]
        private Button _CmdSeachMaHang;
        [AccessedThroughProperty("Label1")]
        private Label _Label1;
        [AccessedThroughProperty("Label13")]
        private Label _Label13;
        [AccessedThroughProperty("Label2")]
        private Label _Label2;
        [AccessedThroughProperty("Label3")]
        private Label _Label3;
        [AccessedThroughProperty("Panel3")]
        private Panel _Panel3;
        [AccessedThroughProperty("TxtDenNgay")]
        private DateTimePicker _TxtDenNgay;
        [AccessedThroughProperty("TxtMaHang")]
        private TextBox _TxtMaHang;
        [AccessedThroughProperty("TxtTenHang")]
        private TextBox _TxtTenHang;
        [AccessedThroughProperty("TxtTuNgay")]
        private DateTimePicker _TxtTuNgay;
        [AccessedThroughProperty("VSlist")]
        private C1.Win.C1FlexGrid.C1FlexGrid _VSlist;
        private IContainer components;
        private bool mAllowAdd;
        private bool mAllowDel;
        private bool mAllowEdit;
        private bool mAllowView;

        public Frm_TraCuuQuaTrinhNhapXuat()
        {
            base.Load += new EventHandler(this.Frm_TraCuuQuaTrinhNhapXuat_Load);
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.mAllowView = false;
            this.mAllowDel = false;
            this.mAllowEdit = false;
            this.mAllowAdd = false;
            this.InitializeComponent();
        }

        private void CmdOK_Click(object sender, EventArgs e)
        {
            this.LoadData();
        }

        private void CmdSeachMaHang_Click(object sender, EventArgs e)
        {
            string expression = "";
            expression = SearchModule.SearchHangHoa("", modGeneral.H_STOCKID, "");
            if (expression.Trim() != "")
            {
                string[] strArray = Strings.Split(expression, "|", -1, CompareMethod.Binary);
                this.TxtMaHang.Tag = strArray[0];
                this.TxtMaHang.Text = strArray[1];
                this.TxtTenHang.Text = strArray[2];
            }
            else
            {
                this.TxtMaHang.Tag = "";
                this.TxtMaHang.Text = "";
                this.TxtTenHang.Text = "";
            }
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            try
            {
                if (disposing && (this.components != null))
                {
                    this.components.Dispose();
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }

        private void Frm_TraCuuQuaTrinhNhapXuat_Load(object sender, EventArgs e)
        {
            LVYModule.GetUserRight(ref this.mAllowView, ref this.mAllowDel, ref this.mAllowEdit, ref this.mAllowAdd, Conversions.ToString(this.Tag), modGeneral.H_USERNAME);
            if (!this.mAllowView)
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn kh\x00f4ng c\x00f3 quyền xem, li\x00ean hệ với người quản trị để biết th\x00eam chi tiết.", ""));
                this.Dispose();
            }
            else
            {
                this.TxtTuNgay.Text = "01/" + LVYModule.sRight("00" + Conversions.ToString(DateAndTime.Month(DateAndTime.Today)), 2) + "/" + Conversions.ToString(DateAndTime.Year(DateAndTime.Today));
                this.MergCell();
                BuildComboModule.BuildCombo(this.CboKhoHang, modGeneral.ListDanhMuc.KhoHang, true, "", "");
            }
        }

        public DataTable GetData()
        {
            DataTable table;
            IDataParameter[] commandParameters = new IDataParameter[6];
            try
            {
                commandParameters[0] = DBHelper.createParameter("@KhoaDonVi", DbType.Int64, ParameterDirection.Input, modGeneral.H_CLIENT);
                commandParameters[1] = DBHelper.createParameter("@KhoaHangHoa", DbType.Int64, ParameterDirection.Input, RuntimeHelpers.GetObjectValue(LVYModule.ReturnIfNull(RuntimeHelpers.GetObjectValue(this.TxtMaHang.Tag), "", modGeneral.TypeOfValue.Nothing)));
                commandParameters[2] = DBHelper.createParameter("@KhoaKho", DbType.Int64, ParameterDirection.Input, RuntimeHelpers.GetObjectValue(this.CboKhoHang.SelectedValue));
                commandParameters[3] = DBHelper.createParameter("@TuNgay", DbType.Int64, ParameterDirection.Input, LVYModule.Date2Char(this.TxtTuNgay.Text));
                commandParameters[4] = DBHelper.createParameter("@DenNgay", DbType.Int64, ParameterDirection.Input, LVYModule.Date2Char(this.TxtDenNgay.Text));
                commandParameters[5] = DBHelper.createParameter("@Language", DbType.Int64, ParameterDirection.Input, modGeneral.H_LANGUAGE);
                table = DBHelper.ExecuteDataset(modGeneral.ConnectionString, CommandType.StoredProcedure, "ST_BC_TraCuuQuaTrinhNhapXuat", commandParameters).Tables[0];
            }
            catch (Exception exception1)
            {
                ProjectData.SetProjectError(exception1);
                Exception exception = exception1;
                table = null;
                ProjectData.ClearProjectError();
                return table;
                ProjectData.ClearProjectError();
            }
            return table;
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Frm_TraCuuQuaTrinhNhapXuat));
            this.Panel3 = new Panel();
            this.TxtTenHang = new TextBox();
            this.Label3 = new Label();
            this.CmdSeachMaHang = new Button();
            this.TxtMaHang = new TextBox();
            this.Label2 = new Label();
            this.CboKhoHang = new ComboBox();
            this.Label1 = new Label();
            this.TxtDenNgay = new DateTimePicker();
            this.Label13 = new Label();
            this.TxtTuNgay = new DateTimePicker();
            this.CmdOK = new Button();
            this.VSlist = new C1.Win.C1FlexGrid.C1FlexGrid();
            this.Panel3.SuspendLayout();
            this.VSlist.BeginInit();
            this.SuspendLayout();
            this.Panel3.BackgroundImage = ACCOUNTING.My.Resources.Resources.bgleft;
            this.Panel3.Controls.Add(this.TxtTenHang);
            this.Panel3.Controls.Add(this.Label3);
            this.Panel3.Controls.Add(this.CmdSeachMaHang);
            this.Panel3.Controls.Add(this.TxtMaHang);
            this.Panel3.Controls.Add(this.Label2);
            this.Panel3.Controls.Add(this.CboKhoHang);
            this.Panel3.Controls.Add(this.Label1);
            this.Panel3.Controls.Add(this.TxtDenNgay);
            this.Panel3.Controls.Add(this.Label13);
            this.Panel3.Controls.Add(this.TxtTuNgay);
            this.Panel3.Controls.Add(this.CmdOK);
            this.Panel3.Dock = DockStyle.Top;
            Point point = new Point(0, 0);
            this.Panel3.Location = point;
            this.Panel3.Name = "Panel3";
            Size size = new Size(0x37e, 0x2c);
            this.Panel3.Size = size;
            this.Panel3.TabIndex = 2;
            this.TxtTenHang.BackColor = Color.Orange;
            point = new Point(0x232, 20);
            this.TxtTenHang.Location = point;
            this.TxtTenHang.Name = "TxtTenHang";
            size = new Size(0xd5, 20);
            this.TxtTenHang.Size = size;
            this.TxtTenHang.TabIndex = 0x67;
            this.Label3.AutoSize = true;
            this.Label3.BackColor = Color.Transparent;
            point = new Point(0x1af, 5);
            this.Label3.Location = point;
            this.Label3.Name = "Label3";
            size = new Size(0x31, 13);
            this.Label3.Size = size;
            this.Label3.TabIndex = 0x66;
            this.Label3.Text = "M\x00e3 h\x00e0ng";
            this.CmdSeachMaHang.FlatStyle = FlatStyle.System;
            point = new Point(0x218, 0x13);
            this.CmdSeachMaHang.Location = point;
            this.CmdSeachMaHang.Name = "CmdSeachMaHang";
            size = new Size(0x17, 0x16);
            this.CmdSeachMaHang.Size = size;
            this.CmdSeachMaHang.TabIndex = 0x65;
            this.CmdSeachMaHang.Text = "...";
            this.CmdSeachMaHang.UseVisualStyleBackColor = true;
            point = new Point(0x1b2, 20);
            this.TxtMaHang.Location = point;
            this.TxtMaHang.Name = "TxtMaHang";
            size = new Size(0x65, 20);
            this.TxtMaHang.Size = size;
            this.TxtMaHang.TabIndex = 100;
            this.Label2.AutoSize = true;
            this.Label2.BackColor = Color.Transparent;
            point = new Point(0xb5, 5);
            this.Label2.Location = point;
            this.Label2.Name = "Label2";
            size = new Size(0x35, 13);
            this.Label2.Size = size;
            this.Label2.TabIndex = 0x62;
            this.Label2.Text = "Kho h\x00e0ng";
            this.CboKhoHang.FormattingEnabled = true;
            point = new Point(0xb3, 20);
            this.CboKhoHang.Location = point;
            this.CboKhoHang.Name = "CboKhoHang";
            size = new Size(0xf9, 0x15);
            this.CboKhoHang.Size = size;
            this.CboKhoHang.TabIndex = 0x63;
            this.Label1.AutoSize = true;
            this.Label1.BackColor = Color.Transparent;
            point = new Point(0x56, 5);
            this.Label1.Location = point;
            this.Label1.Name = "Label1";
            size = new Size(0x35, 13);
            this.Label1.Size = size;
            this.Label1.TabIndex = 0x61;
            this.Label1.Text = "Đến n&g\x00e0y";
            this.TxtDenNgay.Format = DateTimePickerFormat.Custom;
            point = new Point(0x5b, 20);
            this.TxtDenNgay.Location = point;
            this.TxtDenNgay.Name = "TxtDenNgay";
            size = new Size(0x52, 20);
            this.TxtDenNgay.Size = size;
            this.TxtDenNgay.TabIndex = 0x60;
            this.Label13.AutoSize = true;
            this.Label13.BackColor = Color.Transparent;
            point = new Point(6, 5);
            this.Label13.Location = point;
            this.Label13.Name = "Label13";
            size = new Size(0x2e, 13);
            this.Label13.Size = size;
            this.Label13.TabIndex = 0x5f;
            this.Label13.Text = "Từ &ng\x00e0y";
            this.TxtTuNgay.Format = DateTimePickerFormat.Custom;
            point = new Point(7, 20);
            this.TxtTuNgay.Location = point;
            this.TxtTuNgay.Name = "TxtTuNgay";
            size = new Size(0x51, 20);
            this.TxtTuNgay.Size = size;
            this.TxtTuNgay.TabIndex = 0x5e;
            this.CmdOK.Image = ACCOUNTING.My.Resources.Resources.report;
            this.CmdOK.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x30d, 0x12);
            this.CmdOK.Location = point;
            this.CmdOK.Name = "CmdOK";
            size = new Size(0x4b, 0x19);
            this.CmdOK.Size = size;
            this.CmdOK.TabIndex = 0x5d;
            this.CmdOK.Text = "Xem";
            this.CmdOK.UseVisualStyleBackColor = true;
            this.VSlist.AllowEditing = false;
            this.VSlist.BorderStyle = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.Light3D;
            this.VSlist.ColumnInfo = manager.GetString("VSlist.ColumnInfo");
            this.VSlist.Dock = DockStyle.Fill;
            this.VSlist.ExtendLastCol = true;
            this.VSlist.FocusRect = FocusRectEnum.None;
            this.VSlist.KeyActionEnter = KeyActionEnum.MoveAcross;
            point = new Point(0, 0x2c);
            this.VSlist.Location = point;
            this.VSlist.Name = "VSlist";
            this.VSlist.Rows.Count = 2;
            this.VSlist.Rows.DefaultSize = 0x11;
            this.VSlist.Rows.Fixed = 2;
            this.VSlist.SelectionMode = SelectionModeEnum.Row;
            size = new Size(0x37e, 0x211);
            this.VSlist.Size = size;
            this.VSlist.StyleInfo = manager.GetString("VSlist.StyleInfo");
            this.VSlist.TabIndex = 30;
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            size = new Size(0x37e, 0x23d);
            this.ClientSize = size;
            this.Controls.Add(this.VSlist);
            this.Controls.Add(this.Panel3);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.Name = "Frm_TraCuuQuaTrinhNhapXuat";
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Tag = "KH-BC03";
            this.Text = "TRA CUU QUA TRINH NHAP XUAT HANG HOA";
            this.Panel3.ResumeLayout(false);
            this.Panel3.PerformLayout();
            this.VSlist.EndInit();
            this.ResumeLayout(false);
        }

        public void LoadData()
        {
            DataTable data = this.GetData();
            double num2 = 0.0;
            double num3 = 0.0;
            this.VSlist.Rows.Count = 2;
            if (data.Rows.Count != 0)
            {
                C1.Win.C1FlexGrid.C1FlexGrid vSlist = this.VSlist;
                vSlist.Rows.Count = 2;
                vSlist.AddItem("");
                vSlist[vSlist.Rows.Count - 1, 4] = modGeneral.Tranlated("Đầu kỳ", "");
                vSlist[vSlist.Rows.Count - 1, 9] = RuntimeHelpers.GetObjectValue(data.Rows[0]["SoLuongTonDau"]);
                vSlist[vSlist.Rows.Count - 1, 10] = RuntimeHelpers.GetObjectValue(data.Rows[0]["TriGiaTonDau"]);
                num2 = Conversion.Val(RuntimeHelpers.GetObjectValue(data.Rows[0]["SoLuongTonDau"]));
                num3 = Conversion.Val(RuntimeHelpers.GetObjectValue(data.Rows[0]["TriGiaTonDau"]));
                LVYModule.SetColorForGrid(this.VSlist, Color.GreenYellow, vSlist.Rows.Count - 1, 0, 0, 0);
                int num4 = data.Rows.Count - 1;
                for (int i = 0; i <= num4; i++)
                {
                    vSlist.AddItem("");
                    vSlist[vSlist.Rows.Count - 1, 1] = RuntimeHelpers.GetObjectValue(data.Rows[i]["Ngay"]);
                    vSlist[vSlist.Rows.Count - 1, 2] = RuntimeHelpers.GetObjectValue(data.Rows[i]["SoChungTu"]);
                    vSlist[vSlist.Rows.Count - 1, 4] = RuntimeHelpers.GetObjectValue(data.Rows[i]["DienGiai"]);
                    vSlist[vSlist.Rows.Count - 1, 5] = RuntimeHelpers.GetObjectValue(data.Rows[i]["SoLuongNhap"]);
                    vSlist[vSlist.Rows.Count - 1, 6] = RuntimeHelpers.GetObjectValue(data.Rows[i]["TriGiaNhap"]);
                    vSlist[vSlist.Rows.Count - 1, 7] = RuntimeHelpers.GetObjectValue(data.Rows[i]["SoLuongXuat"]);
                    vSlist[vSlist.Rows.Count - 1, 8] = RuntimeHelpers.GetObjectValue(data.Rows[i]["TriGiaXuat"]);
                    num2 = (num2 + Conversion.Val(RuntimeHelpers.GetObjectValue(data.Rows[i]["SoLuongNhap"]))) - Conversion.Val(RuntimeHelpers.GetObjectValue(data.Rows[i]["SoLuongXuat"]));
                    num3 = (num3 + Conversion.Val(RuntimeHelpers.GetObjectValue(data.Rows[i]["TriGiaNhap"]))) - Conversion.Val(RuntimeHelpers.GetObjectValue(data.Rows[i]["TriGiaXuat"]));
                    vSlist[vSlist.Rows.Count - 1, 9] = num2;
                    vSlist[vSlist.Rows.Count - 1, 10] = num3;
                }
                vSlist.AddItem("");
                vSlist[vSlist.Rows.Count - 1, 4] = modGeneral.Tranlated("Tổng cộng", "");
                vSlist[vSlist.Rows.Count - 1, 5] = LVYModule.SumColGrid(this.VSlist, 5);
                vSlist[vSlist.Rows.Count - 1, 6] = LVYModule.SumColGrid(this.VSlist, 6);
                vSlist[vSlist.Rows.Count - 1, 7] = LVYModule.SumColGrid(this.VSlist, 7);
                vSlist[vSlist.Rows.Count - 1, 8] = LVYModule.SumColGrid(this.VSlist, 8);
                LVYModule.SetColorForGrid(this.VSlist, Color.GreenYellow, vSlist.Rows.Count - 1, 0, 0, 0);
                vSlist.AddItem("");
                vSlist[vSlist.Rows.Count - 1, 4] = modGeneral.Tranlated("Cuối kỳ", "");
                vSlist[vSlist.Rows.Count - 1, 9] = num2;
                vSlist[vSlist.Rows.Count - 1, 10] = num3;
                LVYModule.SetColorForGrid(this.VSlist, Color.GreenYellow, vSlist.Rows.Count - 1, 0, 0, 0);
                vSlist = null;
            }
        }

        public void MergCell()
        {
            int num2;
            C1.Win.C1FlexGrid.C1FlexGrid vSlist = this.VSlist;
            int num = 1;
            do
            {
                vSlist[1, num] = RuntimeHelpers.GetObjectValue(vSlist[0, num]);
                vSlist.Cols[num].AllowMerging = true;
                num++;
                num2 = 4;
            }
            while (num <= num2);
            vSlist.Rows[0].AllowMerging = true;
            vSlist[1, 5] = modGeneral.Tranlated("SL", "");
            vSlist[1, 6] = modGeneral.Tranlated("Trị gi\x00e1", "");
            vSlist[1, 7] = modGeneral.Tranlated("SL", "");
            vSlist[1, 8] = modGeneral.Tranlated("Trị gi\x00e1", "");
            vSlist[1, 9] = modGeneral.Tranlated("SL", "");
            vSlist[1, 10] = modGeneral.Tranlated("Trị gi\x00e1", "");
            vSlist.AllowMerging = AllowMergingEnum.FixedOnly;
            vSlist = null;
        }

        private void TxtMaHang_LostFocus(object sender, EventArgs e)
        {
            string expression = "";
            if (this.TxtMaHang.Text.Trim() != "")
            {
                expression = SearchModule.SearchHangHoa(this.TxtMaHang.Text.Trim(), modGeneral.H_STOCKID, "");
                if (expression.Trim() != "")
                {
                    string[] strArray = Strings.Split(expression, "|", -1, CompareMethod.Binary);
                    this.TxtMaHang.Tag = strArray[0];
                    this.TxtMaHang.Text = strArray[1];
                    this.TxtTenHang.Text = strArray[2];
                }
                else
                {
                    this.TxtMaHang.Tag = "";
                    this.TxtMaHang.Text = "";
                    this.TxtTenHang.Text = "";
                }
            }
            else
            {
                this.TxtMaHang.Tag = "";
                this.TxtMaHang.Text = "";
                this.TxtTenHang.Text = "";
            }
        }

        private void TxtTuNgay_LostFocus(object sender, EventArgs e)
        {
            if (LVYModule.sRight(this.TxtTuNgay.Text, 7) != LVYModule.sRight(this.TxtDenNgay.Text, 7))
            {
                this.TxtDenNgay.Text = DateTime.DaysInMonth(Conversions.ToInteger(LVYModule.sRight(this.TxtTuNgay.Text, 4)), Conversions.ToInteger(LVYModule.sMid(this.TxtTuNgay.Text, 4, 2))).ToString() + "/" + LVYModule.sRight(this.TxtTuNgay.Text, 7);
            }
        }

        internal virtual ComboBox CboKhoHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboKhoHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboKhoHang = value;
            }
        }

        internal virtual Button CmdOK
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdOK;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdOK_Click);
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click -= handler;
                }
                this._CmdOK = value;
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click += handler;
                }
            }
        }

        internal virtual Button CmdSeachMaHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdSeachMaHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdSeachMaHang_Click);
                if (this._CmdSeachMaHang != null)
                {
                    this._CmdSeachMaHang.Click -= handler;
                }
                this._CmdSeachMaHang = value;
                if (this._CmdSeachMaHang != null)
                {
                    this._CmdSeachMaHang.Click += handler;
                }
            }
        }

        internal virtual Label Label1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label1 = value;
            }
        }

        internal virtual Label Label13
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label13;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label13 = value;
            }
        }

        internal virtual Label Label2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label2 = value;
            }
        }

        internal virtual Label Label3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label3 = value;
            }
        }

        internal virtual Panel Panel3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Panel3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Panel3 = value;
            }
        }

        internal virtual DateTimePicker TxtDenNgay
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDenNgay;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDenNgay = value;
            }
        }

        internal virtual TextBox TxtMaHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtMaHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.TxtMaHang_LostFocus);
                if (this._TxtMaHang != null)
                {
                    this._TxtMaHang.LostFocus -= handler;
                }
                this._TxtMaHang = value;
                if (this._TxtMaHang != null)
                {
                    this._TxtMaHang.LostFocus += handler;
                }
            }
        }

        internal virtual TextBox TxtTenHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTenHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtTenHang = value;
            }
        }

        internal virtual DateTimePicker TxtTuNgay
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTuNgay;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.TxtTuNgay_LostFocus);
                if (this._TxtTuNgay != null)
                {
                    this._TxtTuNgay.LostFocus -= handler;
                }
                this._TxtTuNgay = value;
                if (this._TxtTuNgay != null)
                {
                    this._TxtTuNgay.LostFocus += handler;
                }
            }
        }

        internal virtual C1.Win.C1FlexGrid.C1FlexGrid VSlist
        {
            [DebuggerNonUserCode]
            get
            {
                return this._VSlist;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._VSlist = value;
            }
        }
    }
}

